package com.example.calculatorApp.service;

import com.example.calculatorApp.controller.request.resouceRequest;
import com.example.calculatorApp.entity.Resouce;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;


public interface IResouceService {
    List<Resouce> getList(resouceRequest resouceRequest);

    void save(Resouce resouce);

    void deleteById(@PathVariable Integer id);

    void updateById(Resouce resouce);
}
